package org.hy.domain.global;

import java.util.Date;

import org.hy.domain.User;

/**
 * 各种消息类的接受基类
 * @author Tom.Feng
 *
 */
public class Recv {

	private Integer id;
	
	/**
	 * 发送者有可能为系统，故Object
	 */
	private Object sender;
	
	/**
	 * 分为用户接收和小组成员接受。
	 */
	private User receiver;
	
	private Boolean isRead;
	
	private Date intime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getReceiver() {
		return receiver;
	}

	public void setReceiver(User receiver) {
		this.receiver = receiver;
	}

	public Boolean getIsRead() {
		return isRead;
	}

	public void setIsRead(Boolean isRead) {
		this.isRead = isRead;
	}

	public Date getIntime() {
		return intime;
	}

	public void setIntime(Date intime) {
		this.intime = intime;
	}

	public Object getSender() {
		return sender;
	}

	public void setSender(Object sender) {
		this.sender = sender;
	}
}
